]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/global: Iterate over all leisure closures
authorAlessandro Bono <alessandro.bono369@gmail.com>
Mon, 29 Jun 2026 11:16:40 +0000 (13:16 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 2 Aug 2026 16:49:13 +0000 (18:49 +0200)
commit1769ee38a4fe74e6b0ee0e98f27bd32459c63d27
treeaf0e2b193b517ef1806a937a082dabc69aba375d
parent788407dc248838f22268dee431702eff7dcf5937
shell/global: Iterate over all leisure closures

The loop was using 'closures->data' instead of 'iter->data', causing
only the first leisure closure to be executed and freed on each cycle.
All subsequent closures in the list were leaked.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4275>
(cherry picked from commit 28fc2fc85b34e8c8291330d4b62d5a3e1092b3d6)
src/shell-global.c